const { add, findByid, findByAuthor, commentRemove } = require('../controller/comment')
const router = require('koa-router')()
router.prefix('/comment')

router.post('/add', add)
router.get('/web/find', findByid)
router.get('/ho/find', findByAuthor)
router.get('/ho/Commentremove', commentRemove)

module.exports = router
